package org.adw.launcher2.ld.secret.dom.contact;

public class EmailInfo {
	private long id;
	private int type;
	private String value;

	public EmailInfo(long id, int type, String value) {
		this.id = id;
		this.type = type;
		this.value = value;
	};

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	public String[] getAllValue(){// use this method to create params to insert into SQLite DB
		return new String[]{this.id+"",this.type+"",this.value};
	}
}
